package com.jiayuge;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * 功能:   --层
 * <p>  --层</p >
 * <ul>
 * <li>数据库: 增 删 改 查 </li>
 * <li>{@link DeptProviderApplication_8001} connect to {@link DeptProviderApplication_8001}</li>
 * </ul>
 *
 * @Program: SpringCloud
 * @Date: 2021-09-27 13:23
 * @Version 1.0
 * @Author Jiayu.Yang
 */
@SpringBootApplication
@EnableEurekaClient //在服务器启动后自动注册到Eureka中
@EnableDiscoveryClient //服务发现
public class DeptProviderApplication_8001 {
    public static void main(String[] args) {
        SpringApplication.run(DeptProviderApplication_8001.class,args);
    }
}
